(function(obj) {
	obj.baseUrl='';
	obj.xAuthToken='';
	obj.beforeSend=function(request) {
        request.setRequestHeader("xAuthToken",obj.xAuthToken);
    };
    
	obj.init=function(options) {
        for (var key in options) {
            if (typeof options[key] !== 'undefined') {
            	obj[key] = options[key];
            }
        }
		return this;
	};
})(Config = {});